﻿<%@ Page Language="C#" MasterPageFile="~/Administrator/MasterPage.master" AutoEventWireup="true" CodeFile="dathang_chitiet.aspx.cs" Inherits="Administrator_dathang_chitiet"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="menu_left">
        <li><a href="dathang.aspx">Các đơn đặt hàng chưa giao</a></li>
        <li><a href="dathang.aspx">Các đơn đặt hàng đã giao</a></li>
</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<div style="padding:12px 12px 12px 12px ; border-left-style: double; border-left-width: medium; border-left-color: #800000;">
    <div>       
        <div>
            Thông tin Đặt Hàng</div>
        <center>
        <table width="80%" cellspacing="1" cellpadding="3" border="0">
        <tr>
                <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Mã đơn hàng:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:Literal ID="lit_mahoadon" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Khách hàng:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:Literal ID="lit_khachhang" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                 <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Ngày đặt:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:Literal ID="lit_ngaydat" runat="server"></asp:Literal>
                 </td>
            </tr>
            <tr>
                 <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Trị giá:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:Literal ID="lit_trigia" runat="server"></asp:Literal>
                 </td>
            </tr>
            <tr>
                 <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Đã giao:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:CheckBox ID="cb_giaohang" runat="server" />
                     <asp:HyperLink ID="hyp_update" runat="server" Text="Đã giao"></asp:HyperLink>
                         
                                                    </td>
            </tr>
            <tr>
                 <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Địa chỉ nhận voucher:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:Literal ID="lit_dcnh" runat="server"></asp:Literal>
                     
                </td>
            </tr>
            <tr>
                 <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Hình thức thanh toán:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:Literal ID="lit_httt" runat="server"></asp:Literal>
                     
                </td>
            </tr> 
        </table>
        </center>
    </div>
 </div>
 
        
        
<div style="padding:12px 12px 12px 12px ; border-left-style: double; border-left-width: medium; border-left-color: #800000;">
    <div>       
        <div>
            Chi tiết đặt hàng
        </div>
        <div style="width:100%;">
        </div>
        <div>
        <asp:Repeater ID="Repeater1" runat="server" onitemdatabound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                <thead>
                    <tr style="FONT-WEIGHT: bold;FONT-FAMILY: Arial, Helvetica, sans-serif;BACKGROUND-COLOR: #eeeeee;text-align:left;">
                        <th>Tên sản phẩm</th>                        
                        <th>Số lượng</th>
                        <th>Đơn giá</th>
                        <th>Thành tiền</th>
                        
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td style="border:solid 1px black;"><asp:Literal ID="lit_tensp" runat="server" /></td>
                <td align="center" style="border:solid 1px black;"><asp:Literal ID="lit_soluong" runat="server" /></td>
                <td style="border:solid 1px black;"><asp:Literal ID="lit_dongia" runat="server" /></td>                                
                <td style="border:solid 1px black;"><asp:Literal ID="lit_thanhtien" runat="server" /></td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater>  
        </div>
 </div>
 </div> 
 <div class="vide"></div>
</asp:Content>

